Fix pyatspi getStateSet compatibility across library versions#713
Conversation
Some pyatspi versions expose get_state_set() instead of getStateSet(), causing AttributeError in get_extended_info on Linux desktop automation. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
🔎 ZeuZ PR ReviewOpen the full report in ZeuZ: Review findings and apply suggestions
Agent breakdown→ General ReviewStatus: ✅ Completed No actionable issues found in this change; the fallback cleanly improves → Security ReviewStatus: ✅ Completed No security findings in this PR diff. The change is a compatibility fallback for → Performance ReviewStatus: ✅ Completed No performance regressions or optimization opportunities were introduced by this compatibility fallback. The change only adds a method-name fallback for → Testing ReviewStatus: ✅ Completed The fallback change in
|
Summary
get_state_set()whengetStateSet()is unavailable inget_extended_info, since some pyatspi versions use snake_case naming.Test plan